home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Brotikasten
/
BROTCD01.iso
/
games
/
dis411.d64
/
.labyrinth <
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
1995-07-31
|
7KB
|
198 lines
9 GOTO3000
10 DIMDA(1000):G=1067:PRINT"[147]":POKE53280,9:POKE53281,9
20 GOTO 500
99 POKE G,81
100 REM-----------STEUERUNG-----------
110 V=PEEK(56321):IF V=255 THEN 110
120 IF V=254 THEN B=PEEK(G-40):IF B=32 THEN POKE G,32:G=G-40:POKE G,81
130 IF V=253 THEN B=PEEK(G+40):IF B=32 THEN POKE G,32:G=G+40:POKE G,81
140 IF V=251 THEN B=PEEK(G-1):IF B=32 THEN POKE G,32:G=G-1:POKE G,81
150 IF V=247 THEN B=PEEK(G+1):IF B=32 THEN POKE G,32:G=G+1:POKE G,81
160 IF G=1925 THEN 800
170 GOTO 110
500 PRINT"[147]"
502 PRINT"LEVEL 1":TI$="000000"
503 FORI=1TO1000:NEXT
504 PRINT"[147]"
510 PRINT" ";
540 PRINT" [144] "
550 PRINT"[145] [144] "
560 PRINT"[145] [144] "
570 PRINT"[145] [144] "
580 PRINT"[145] [144] "
590 PRINT"[145] [144] "
600 PRINT"[145] [144] "
610 PRINT"[145] [144] "
620 PRINT"[145] [144] "
630 PRINT"[145] [144] "
640 PRINT"[145] [144] "
650 PRINT"[145] [144] "
660 PRINT"[145] [144] "
670 PRINT"[145] [144] "
680 PRINT"[145] [144] "
690 PRINT"[145] [144] "
700 PRINT"[145] [144] "
710 PRINT"[145] [144] "
720 PRINT"[145] [144] "
730 PRINT"[145] [144] "
740 PRINT"[145] [144] "
750 PRINT"[145] "
755 PRINT""
760 GOTO 99
800 REM--AUSGANG GEFUNDEN------------
810 PRINT"AUSGANG GEFUNDEN!!":F1$=TI$
820 FOR I=1 TO 100
830 POKE 53280,I:POKE 53281,I
840 NEXTI
1000 REM ---------2.LEVEL------------
1010 PRINT"[147]":TI$="000000"
1020 POKE53280,9:POKE53281,9
1030 PRINT"LEVEL 2"
1040 FORI=1 TO 340:READ DA(I):NEXT
1050 PRINT"[147]"
1060 PRINT" "
1070 PRINT"[145] [144] "
1080 PRINT"[145] [144] "
1090 PRINT"[145] [144] "
1100 PRINT"[145] [144] "
1110 PRINT"[145] [144] "
1120 PRINT"[145] [144] "
1130 PRINT"[145] [144] "
1140 PRINT"[145] [144] "
1150 PRINT"[145] [144] "
1160 PRINT"[145] [144] "
1170 PRINT"[145] [144] "
1180 PRINT"[145] [144] "
1190 PRINT"[145] [144] "
1200 PRINT"[145] [144] "
1210 PRINT"[145] [144] "
1220 PRINT"[145] [144] "
1230 PRINT"[145] [144] "
1240 PRINT"[145] [144] "
1250 PRINT"[145] [144] "
1260 PRINT"[145] [144] "
1270 PRINT"[145] [144] "
1280 PRINT"[145] "
1290 PRINT"":PRINT"":POKE1102,81:G=1102
1299 K=1865:POKE K,24
1300 REM-----------STEUERUNG-----------
1305 FORI=1 TO 340
1310 V=PEEK(56321)
1320 IF V=254 THEN B=PEEK(G-40):IF B=32 THEN POKE G,32:G=G-40:POKE G,81
1330 IF V=253 THEN B=PEEK(G+40):IF B=32 THEN POKE G,32:G=G+40:POKE G,81
1340 IF V=251 THEN B=PEEK(G-1):IF B=32 THEN POKE G,32:G=G-1:POKE G,81
1350 IF V=247 THEN B=PEEK(G+1):IF B=32 THEN POKE G,32:G=G+1:POKE G,81
1360 IF G=1926 THEN 1600
1400 REM --------ZUEGE DES COMPUTERS---
1420 IF DA(I)=1 THEN POKE K,32:K=K-40:POKE K,24
1430 IF DA(I)=2 THEN POKE K,32:K=K+40:POKE K,24
1440 IF DA(I)=3 THEN POKE K,32:K=K-1:POKE K,24
1450 IF DA(I)=4 THEN POKE K,32:K=K+1:POKE K,24
1455 NEXT I
1460 GOTO 1305
1600 REM --AUSGANG GEFUNDEN 2.LEVEL
1610 PRINT"AUSGANG GEFUNDEN !!":F2$=TI$
1620 FOR I=0TO 100
1630 POKE53280,I:POKE53281,I
1640 NEXT I
1650 GOTO2000
1660 DATA 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
1661 DATA 4,4,4,4,4,4,4,4,4,4,2,2,4,4,2,4,4,2,2,2,2,4,4,4,4
1662 DATA 2,2,4,4,4,1,1,4,4,1,4,4,4,4,4,4,4,4,1,1,4,4,4,1,1
1663 DATA 4,4,4,1,1,2,2,3,3,3,3,2,2,4,4,4,4,2,2,3,3,3,3
1664 DATA 2,2,4,4,4,4,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3
1665 DATA 1,1,1,1,4,4,2,1,1,1,1,3,3,3,3,3,3,3,3,3,3,1,4,4,4,4,4,1,1
1666 DATA 3,3,1,1,1,1,4,4,4,1,1,1,1,1,1,3,3,2,2,3,2,3,2,3,3,2,2,3,3,2
1667 DATA 3,3,2,2,3,3,3,1,1,3,3,2,2,2,2,2,4,4,2,2,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1
1668 DATA 3,3,2,3,2,3,2,3,3,2,2,2,2,2,3,3,1,1,1,1,1,1,4,1,2,4,2,4,4,2,2,2,2,2
1669 DATA 4,4,1,1,1,4,4,1,1,1,1,1,3,3,1,3,3,1,1,3,3,3,3,2,2,2,3,2,1,3,1,3,3
1670 DATA 2,2,2,2,3,3,2,2,4,4,4,4,2,2,2,2,2,4,4,4,4,4,4,4,4,2,2,2,4,2,2,2,2
1671 DATA 3,3,3,3,3,1,1,1,1,3,3,1,3,3,3,3,2,2,2,4,4,4,4,2,2,3,3,3,3,3,3
2000 PRINT"[147]":POKE53280,0:POKE53281,0
2001 GOSUB2050:PRINT" [158][194] ZEIT 1. SPIEL: ";F1$:PRINT""
2002 GOSUB2051:PRINT" [158][194] ZEIT 2. SPIEL: ";F2$:PRINT"[159]"
2009 PRINTTAB(8)"ERGEBNIS AUSDRUCKEN [154][1][159]"
2010 PRINTTAB(8)"SPIEL WIEDERHOLEN [154][2][159]"
2011 PRINTTAB(8)"SPIEL BEENDEN [154][3][159]"
2020 POKE198,0:WAIT198,1:GETE$
2021 IFE$="1"THEN4000
2022 IFE$="2"THENCLR:GOTO10
2023 IFE$="3"THEN5000
2024 GOTO2020
2050 PRINT""
2051 PRINT" [158][176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174][146]"
2052 PRINT" [158][194] [194][146]"
2053 PRINT" [158][173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189][146]":RETURN
3000 PRINT"[147]":POKE53280,0:POKE53281,0
3001 F=200:P=10:FORJ=1TO10
3002 PRINT""
3010 PRINTTAB(P)"L":GOSUB3100
3011 PRINTTAB(P)"A":GOSUB3100
3012 PRINTTAB(P)"B":GOSUB3100
3013 PRINTTAB(P)"Y":GOSUB3100
3014 PRINTTAB(P)"R":GOSUB3100
3015 PRINTTAB(P)"I":GOSUB3100
3016 PRINTTAB(P)"N":GOSUB3100
3017 PRINTTAB(P)"T":GOSUB3100
3018 PRINTTAB(P)"H":GOSUB3100
3020 F=F-15:P=P+2:NEXT
3030 P=10:F=200:PRINT"[154]"
3031 PRINTTAB(P)"K";:GOSUB3100
3032 PRINTTAB(P)"A";:GOSUB3100
3033 PRINTTAB(P)"R";:GOSUB3100
3034 PRINTTAB(P)"L";:GOSUB3100
3035 PRINTTAB(P)"H";:GOSUB3100
3036 PRINTTAB(P)"E";:GOSUB3100
3037 PRINTTAB(P)"I";:GOSUB3100
3038 PRINTTAB(P)"N";:GOSUB3100
3039 PRINTTAB(P)"Z";:GOSUB3100
3040 PRINTTAB(P)" ";:GOSUB3100
3041 PRINTTAB(P)" ";:GOSUB3100
3042 PRINTTAB(P)" ";:GOSUB3100
3043 PRINTTAB(P)" ";:GOSUB3100
3044 PRINTTAB(P)"H";:GOSUB3100
3045 PRINTTAB(P)"E";:GOSUB3100
3046 PRINTTAB(P)"R";:GOSUB3100
3047 PRINTTAB(P)"P";:GOSUB3100
3048 PRINTTAB(P)"E";:GOSUB3100
3049 PRINTTAB(P)"L":GOSUB3100
3050 PRINTTAB(13)"DRUECK SPACE":GOSUB3051:GOTO3200
3051 POKE198,0:WAIT198,1:GETE$
3052 IFE$=CHR$(32)THENRETURN
3053 GOTO3051
3100 FORE=1TOF:NEXT:RETURN
3200 PRINT"[147]"
3201 PRINTTAB(8)"SPIELBEGINN [1]"
3202 PRINTTAB(8)"SPIELERKLAERUNG [2]"
3210 POKE198,0:WAIT198,1:GETE$
3211 IFE$="1"THENCLR:GOTO10
3212 IFE$="2"THEN3300
3213 GOTO3210
3300 PRINT"[147][159]"
3301 PRINTTAB(5)"MIT DEM JOYSTICK IN PORT I"
3302 PRINTTAB(5)"MUSST DU BEI 2 LABYRINTHEN"
3303 PRINTTAB(5)"DEN AUSGANG FINDEN.DABEI"
3304 PR